package com.blog.service;

import com.blog.pojo.Article;

import java.util.List;

public interface ArticleService {
    void addArticle(Article article);
    List<Article> list(int limit,int offset);
    Long count();
    Article detail(int id);
    void edit(Article article);
    void delete(int id);
}
